//
//  ZYAlertController.h
//  LinLiSheQu
//
//  Created by 郭树清 on 2018/5/8.
//  Copyright © 2018年 KuoShuChing. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void (^CancelButtonBlock)(UIAlertAction *cancelAction);
typedef void (^SureButtonBlock)(UIAlertAction *SureAction);

@interface ZYAlertController : UIAlertController

@property(nonatomic,copy)CancelButtonBlock cancelBlock;
@property(nonatomic,copy)SureButtonBlock SureBlock;

+ (void)userAlertControllerWithTitleName:(NSString*)titleName andMessage:(NSString*)message addcancelButtonTitle:(NSString*)cancelButtonTitle adotherTitle:(NSString*)buttonTitle showViewController:(UIViewController*)currentVC addCancelClickBlock:(CancelButtonBlock)cancelBlock addotherClickBlock:(SureButtonBlock)SureBlock;

@end
